package com.gxa.order.service;

import com.gxa.order.dto.PageParam;
import com.gxa.order.param.PastLikeParam;
import dto.ResultDTO;

/**
 * @author htt
 * @create 2021-05-11
 * project overview
 */
public interface PastTicketService {

    /**
     * 查询历史订单
     * @param memberId
     * @return
     */
    ResultDTO findPastTicket(Integer memberId, PastLikeParam likeParam);

    /**
     * 取消订单
     * @param orderId
     * @param type
     * @param msg
     * @return
     */
    ResultDTO updateStatus(Integer orderId, Integer type, String msg);

    /**
     * 加急
     * @param orderId
     * @return
     */
    ResultDTO sendEmail(Integer orderId, Integer type);

    ResultDTO findA();

}
